﻿<Page
    x:Class="LearnEnglishWords.UI.Views.DashboardView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:LearnEnglishWords.UI.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{StaticResource aBlue}">

    <Grid>
        <ListView ItemsSource="{Binding CircleLookups}" IsItemClickEnabled="True" ItemClick="ListView_ItemClick">
            <ListView.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Vertical" Background="{StaticResource aWhite}">
                        <TextBlock Margin="20, 10" Text="{Binding Name}" Foreground="{StaticResource aRed}" FontSize="24" TextWrapping="Wrap"/>
                    </StackPanel>
                </DataTemplate>
            </ListView.ItemTemplate>    
        </ListView>
    </Grid>
</Page>
